fixing the null pointer exception crash.

modified:   src/game/GameLoop.java