make DPI aware

* what started out as a "why is the cursor positioned oddly on my 3rd
  monitor but only on the last row" question turned into making the
  application a wee bit DPI aware.