Cleaned up some TODOs and FIXMEs (mostly related to mmap/munmap)