Fix last_gametype shown on non player tab at startup
Fix memory leak in guiEngine