Queries get saved to and parsed from the URL

fixes #204 
Moved it to one line