Added new interface.
Added some menu logic and added separate thread for game logic.
Moved the menu drawing logic to the same loop with the game drawing. Also some refactoring.
Menu and buttons now take actions when clicked.