more fixes to make this browser work with e.g. Google search
Merge pull request #1 from mdoege/master

Grail fixes by Mdoege https://github.com/mdoege