More work on unregistering contexts. It will now also remove all backend actions in the action manager linked to that context. Also, in the debug widget there is now a button to unregister contexts.
Added functionality to the mode manager to allow switching back to the previous mode.
Fixed MainWindowExample bug where it opened files internally and externally when double clicking on them.
Updated Changelog & docs