Menu working

The options on the menu now can be read and sent to the main loop. Quitting
is also now done via the options menu instead of with F1