WIP: First rash attempt at managed buffer/queue system
Tested via simple input and Robopaint on Linux, worked wonderfully.
Tested on my macbook with terrible results, huge ms length gaps between commands resulting in jittery output, and garbled commands.
Combine server close try/catch and actually output errors if they arrive
Eliminate distanceCounter floats
Merge branch 'master' into buffer_experiment
Downgrade to 1.1.3 of serialport until things die down a bit
Also add the repo
Properly read back the EBB ACK "OK" and use it to trigger next command
Also add in buffer queue callbacks to allow "blocking" style coding for runs with properly timed callback. this is a HUGE change
Lock to "latest" node-serialport 1.2.5, which seems to work.. for now
Only allow reads if not simulating
Callback usually requires a "true" argument return.
This is good enough for now
Short-circuit setTimeouts for buffer runs to remove gaps!
This isn't needed on linux, but is REQUIRED for smooth windows runs on for serialport 1.2.5
Pen state distance counter didn't take into account height properly
Merge branch 'buffer_experiment'

Conflicts:
	package.json