Clean up hash tags

Make sure hash tags used in URLs aren't used on elements that will scroll the browser
Also open the stats panel if #stats is in the URL