applied Alex Sedov's Tab buffer termination patch, thanks