Fixed dimension argument parsing.
Use new string formatting function instead of the '%' operator.