arrow and improved tab navigation

up and down arrows simulate tab/tab+shift behavior. Fixed empty tab
error