Implemented more, still missing core parts of mapped_file_stack