pause menu, bugs, code clean up