Update to compile with 0.7.6
Removed bug in closeRegion.