tab right click close, layout fixes