working on error handling

specifically unmatched brackets. it works, unless a cell value is
appended, which is what usually happens. But it works sometimes! Pushing
because Agile development or whatever.