Woops, fix mmap crasher

Also, remap the file before appending so we can do async appends.

Finally, remove some debug cruft