refactoring
Sandbox can be disabled via Preferences (no UI yet, use settings.xml)