minor edits for python3 compliance - necessary for running in Blender.
Authored by: stivosaurus 2011-11-17
Parent: [r617]
Child: [r619]