Added high DPI display support.

I.e. no blurry text. There's still some weird layout issues though. Part
of #309.
Fixed first-run window fitting with DPI scaling.

Closes #309.