Lil's parser will currently tolerate source code ending without the full number of closing braces and/or parentheses; they're just implied. This design is a potential foot-gun, but mildly handy when using the Listener like a calculator:

I was able to reproduce the crash you describe, but it's not specific to those script typos; it's a deeper race condition in Native Decker that just happens to become easier to reproduce when you have the toolbars open and custom brushes installed. Will fix.