Fixed string-parsing bugs, as well as Style1 bugs.