moved creation of types to TypeContext to remove duplicated code added the ability to change the alternateKey *before* calling loadFromXml()
moved creation of types to TypeContext to remove duplicated code
added the ability to change the alternateKey *before* calling loadFromXml()

mkaring/nifty-gui,atomixnmc/nifty-gui,atomixnmc/nifty-gui,Teencrusher/nifty-gui,bgroenks96/nifty-gui,relu91/nifty-gui,Ryszard-Trojnacki/nifty-gui,gouessej/nifty-gui,Teencrusher/nifty-gui,void256/nifty-gui,Ryszard-Trojnacki/nifty-gui,void256/nifty-gui,bgroenks96/nifty-gui,xranby/nifty-gui