[core-plugin] fix capture coordinates plugin:
deletes the plugin from the vector menu when unloaded and
fix the button to show and hide the dock widget