Tighten up DM access checks for GUI scripts.