wrote some mbox stuff, have do_spawn working theoretically