Make command history help more general
Add directories popup.