Fixes baud rate setting and also applies a sane default baud rate

When trying to implement this on a linux machine, the baud rate was not getting set correctly.  This patch fixes that.