other Python3 fixes

A few more fixes for the 0.3 version