Logic to make sure scrollbar processing only happens in the editor space...

.... Also fixed issue with scrollbar regex.

https://github.com/adobe/brackets/issues/8482
Easier:
```JS
this.dark = !!(options.theme.dark || false);
```