Split actions into two groups, one for doc-sensitive one not
Remove some gratuitous use of casting macros from latest commits
Use action appearance in menu items

Add hack to avoid console spam from GtkBuilder/Glade stuff.
Use actions for undo/redo/cut/copy/paste

Use same actions for main menu, edit menu and toolbar.