Fixes to main python files, changes for unicode in splitters module.