Added threaded mmap functionality. Seems to be working.