Add Flush() command; return uintptr instead of C.int from openPort