Draw call locations now calculated after all string replacements. Does this fix the center and right align embed? Quick testing could not find any errors, but more thorough testing needed.
Missed the trailing word character in last commit
One more fix needed to fix wrapping-- draw_calls all need to be calculated after all string substitutions have been made.