Consistency in function call argument order.
Minor changes. Substring wrapper for MarkupString.cs.