added hardware io to serial ports. added logging to qemu com port. build system improvements