Pygtk compatible codebase..not tested with pygtk