Improved tab handling
TAB completion fixes