string formatting
save some memory
make unittests work on 2.6
Merge pull request #1 from Habbie/master

minor cleanups