Refactor and fix crash bug
Merge branch 'master' into HEAD

Conflicts:
	Quadtree/RegionQuadtree.cs