Very roughly reworked GameLib for PlayN