Fixed hgsid issue and other UI problems

Now CEpBrowser will try to find and stick to the correct hgsid to keep
track of user settings.