Refactor the context menu loading
Simplify the loading of the contextmenus by not adding the connections at runtime
Also fixes a few broken things
TODO:
Fix the file dialog, which has been broken for a while apparentlytest a bit more
Edited by Tobias Fella