Fix off by one error in unmatched braces warning
Improved warning window:
1) Window is resized to match the text.
2) Duration can be controlled via a setting.