Fix tab bugs, hide raw tab on plain files