This patch replaces all non-leading tabs (i.e. those not used for indentation) with spaces.
Updated patch to r9088 & fixed a compile error caused by a missing semicolon.
Updated the patch again to be compatible with current trunk.
FInally comitted in r9128, thank you.