Refactor entprop accessors.
Fix gamerules and resource entities not surviving map changes.
Harden entity wrappers against map changes.