Some Windows build fixes.
Make the general settings tab look a bit better.
The diagnostics dialod now says more appropriate error messages.