Open the popup window centered in the browser window

Previously it would open in the center of the screen which was disorientating. Now it appears in the center of the browser window.

@morgan, think you could review this and then we can tag version 1.0.0?