Fixed the game loop slightly, and tied together the engine with the movementsys