Fixed indents
Rewritten ProcessInlines to not use recursion.