Distance calculation and more eventhandling improvements.
New clipping algorithm for the GPX layer / UI improvements.