Adds duplicate menu to external frame. fix #49
Unloads the plugins on shutdown