add save filtering -- can now choose to save only part of the world
update dirty_count when applying offsets