Screen resolution and dpr info.

Closes #1.