Bug fixes. Fixed the problem where query strings got chopped off when adding from a URL.