Serial I/O and misc. gems