A little PHP > v5.2 fix and tab tp space conversion.