Url params persists in top nav bar

Hi Joel,
              Now the url params are shown in the top nav bar, even when the values are set manually in the url. Please do have a look and review the code. Please let me know of the results.

Thanks.
the lines here are indented more than they should be