Log detected DPI.
Add drag capturing (useful to resolve conflicts between scrollviews and draggable controls within)

Some misc cleanup