Menu Improvements and Window State Recovery

There were still some menu actions with wrong menu role. I fix that. 
Furthermore I implemented the quit action, and added shortcuts for this and the open dialog.

Edit:
I fixed the window state recovery, too. There were warnings when quitting that no objectName was set for the widgets