Some tweaks to make the serial read behave better.