Throw UnmatchedParen exception in the proper situation. Closes #1