Revert "Python 3.x compatability - basic generation and rendering now works, some rendering still needs fixing"

This reverts commit dd0b23b3a1d757bf004f692fbd924dc293c62df0.