Fix bugs and add remove() and isEmpty() to UrlParams. Fix parameter code.