Fixed dashed lines not being drawn properly

This was due to the segmentation that occured during draw time in order to
trim unseen segments. Remaining segments are now grouped by connectivity and
drawn together as a single poly line.
Improved the multitouch zooming

Zooming now feels less finicky.