Remove debug output. Use Qt's function to parse a user inputted url.