Added hard-pause functionality to GamePanel with the isPaused flag.