changes to opentest branch only. this was my first try at making the windows build through a vm.
fixed the last couple of events issue with change in add_modifier_character.
made vsync setting save properly.
made right hand bar in game screen's default tribute fill view stop using up so much time and GC allocation per frame.
fixed bug in generation when "items" focus type was picked, which also included fixing a pre-exiisting bug from focus type not being picked correctly. the new refactor bug was actually in the subgroup item focus type but the pre-existing bug made it appear in items.
made pdf unit equipment use the same runtime int ID <-> serialised string ID stuff as the rest of production items.
made pdf unit type also use int string ID system to improve performance of unit refilling and other things that look up unit type alot.
also made pdf unit type cache lookup so it doesn't have to keep checking the dictionary of types.