QGIS 2.3 API changes
use SIGNAL-SLOT mechanism to call gui/network functions that should be called from main thread
use QgsMapLayer.setBlendMode() instead of own style setting
remove layer object held in dict when the layer is removed