fixed pausing not actually pausing the game
removed serialization