fixed the broken-ness, added a test-mode so we can run it without having the serial device, program now tabulates and plots the current values