added title and logo; ignore white space in query string