Line clipping algorithm separated.
Container cleanup in WayPointman.