added function Triangle::getSharedPoints, shared some code with triangulation::addPoint.
Cleaned Main::onEvent a bit. No prints there anymore.