Fixed a lot more print statements for Python 3.