Add NULL-pointer protection. Make MMU table read-only. Move vector table to start section. Close #3774.