Reimplement COM port choosing, fix subtle serial port bug, comments