Improve tone detection & replace tabs by spaces.