Added disconnect signals for exiting QgsMapLayerRegistry.instance().mapLayers() bug when exiting QGIS