some more C module work, added renpy.py3compat