Fix some signals and the export encoding

I suggest to adopt the new signal style (we should investigate the compatibility before doing this)  
more in http://pyqt.sourceforge.net/Docs/PyQt4/new_style_signals_slots.html