cursor pointer when tab inactive
do not always show autocomplete on focus, fixes #79