some serial helpful fixes/cleanups
Merge pull request #5 from Pinoccio/serial

some serial helpful fixes/cleanups