Fixes
More fixes, and some testing this time, of python.