Create tabs and some other fixes.