Improved rlcompleter