more tolerant parsing improvements.

We now tolerate a missing ')' or '}' in more places