Massive changes. Replaced all Coord data types with Qt's QPointF coordinates. Rectified most of the problems with the change. Not entirely sure though.