Fixing region conversion, region types. Also some cleaning up.
Merge branch 'master' of https://github.com/lukacu/trax