Misc ptrace cleanup
Cleanup, bugfixes, and more. All acid ptrace
tests still succeed, although it appears strace is a little broken. I've checked, and it's that the advanced version of strace (the default one), is just badly written and has some race conditions.
I'll be making more ptrace changes, but these are ones that don't change behavior too much. I'm currently trying to invent a better event system, where the write
call isn't the blocking call - that doesn't make sense.