Support for OpenMP in CMakeLists.txt.
Added QuadTree insertion exception.