Revamped sandboxing

Turn off Xray vision in sandboxes used for TextControlProxies and the script monitor. Encapsulated all such sandboxes in a wrapper object that locks down access to the sandbox’s properties.

Fixes #57, #58.