Factor switching to serial console
Remove non-standard dot functions
Console buffer changes