Spacing following \tfrac in superscript is wrong
The spacing between the fraction and plus is too big for
e^{\tfrac{1}{2} + c}
This is due to the check for prevLevel > 0
in the texSpacing
method. Probably checking the operators scriptlevel
is sufficient (or using an "or" rather than "and" for the check).