WIP: read-only area support. Better MT_ variable support. Not working properly yet.