Adds menu functionality

The commits here add menu functionality, main menu, and a pause menu (which does halt the main game thread).