bugfixes for python2.6 plus some minor new functionality for the feescale editor