Get the SPARQL URL from the UI.  Minor cleanups.  Removed unnessary code.