Rewrote memory manager to use a bunch of mapped views.