some code in direction of windows support
enhancements mostly in PyQt4 interface