Fix position of the top marker

Top marker was not in the right position for long text in URL bar.
Make sure text doesn't overlap rectangle

Long search terms would overlap the icon and rectangle. Implemented fixed width and elide to address this.
Fix syntax errors

Introduced by web interface editing
Merge pull request #24 from Herrie82/master

Layout fixes