add erlang-history support. minor fixups
add history search plugin