Debugged some odd python 3 issues.