Fixed some warnings, and Pause menu