Merge pull request #15 from jamesturk/no-debug-explosion

avoid blowing up when DEBUG is true
change execfile replacement
Merge pull request #14 from jamesturk/py3

Py3 compatibility
merge with py3