Debug code for gameloader