Tab editing cleanup.