Refactoring, connect more main menu actions to pages, add to preferences pages...
Add new ui panes, graphics view mouse events, minor refactoring