Fixed the GameLoop to use a Timer object instead of a while loop. This fixed the lag on many computers