Simplified proc_t::wait control flow
Added proc_t::mmap and proc_t::munmap to map memory into the controlled process