Application separation (sandboxing)

Fixes in config, file watching and caching