Add coordinates preview mode

When mouse pointer is in preview area, optionally show (and copy to
the clipboard) its coordinates in specified units

This greatly simplifies e.g. putting labels and adding arrows to
a generated file.