Added some improvements to how the browser version is determined, based upon the suggestions of 'hobbit' in [1101].