Start loading project preferences as soon as possible.

This is not a 100% fix for #6555 but it does eliminate the flash of JSLint
Errors in my testing.