Roll the linear distance stuff into the NMEA class
Remove functions.js.

Tuck the processDataLine method into the main.js file and use a local event to save the parsed lines for save_file support.