Logger now flushes buffer to have log file update immediately.
WIP to change setportspeed into serial usb connectivity testing utility.