Algorythm Pause menu and health

added a pause functionality and a visual health bar. you can now return
to the main menu in the middle of a game.