Python 3 fixs: imports, prints, etc