allow brackets to be dragged by the caption bar alot easier
optimize union rect code
Merge pull request #345 from adobe/jeff/dark-shell-fixes

Allow brackets to be dragged by the caption bar alot easier
fixes https://github.com/adobe/brackets/issues/5252
relocate comment
Merge pull request #347 from adobe/jeff/fix-5252

Restored secondary windows need repainting