py26 fixes (#6) and some comments