Move openBrowser to util, rename it, and consistently use it