Fix handling of backslash escaping in states.
Updated built simulator.