Fix proc fork()

- Invalid mpt for a child main()
- Invalid COW handling
- Replace some kernel panics with more proper error handling