Program editted to GameEngine, some cleaning done.