(JX) Fix for various code output scenarios that can be missing closing parenthesis. Closes #198
3 files changed