Added auto completion using history forward and backward search.