Minimal GUI program to log the coordinates of clicks on an image