add --info parameter to show detected screen values
refactor titlebar hit detection somewhat