Added ability to center popup with respect to the opener window as well as the screen.