Queries get saved to and parsed from the URL

fixes #204