python 2.x bug fixes: changed super syntax, etc