fix renamings
fix swig python2 problem

print is not allowed within library
(also has syntax error, because of __future__ hack not working with old
 swig version)