Some bug fixes
Merge branch 'master' of ssh://github.com/peterSW/UVRefine