tab selection mostly works...