Add alerts to clearly state that Tab and History are not available when
an external script is running.
Selection on history popup also sets the up/down index correctly.
Auto-completion for directories now ends the completion with a trailing slash.
README updated.