now it is possible to close the plugin without closing nomacs