Quick clean up of gameloop code removed unused code