goodidea82; I will try to check it as soon as possible. Refactoring the compiler and the decompiler from the GUI is another story I'm very interesting in, in the light of possible upcoming alternates.
spaceeinstein; both ideas sound reasonable to me, thanks.
Command line tool:
Refactoring is of course the clean solution. However, if you don't have the time to do it anyway, then a pragmatic solution would be good enough:
1. add the possibility to call the exe with arguments for compilation/decompilation and for settings
2. if the user provides an option, say "hidden", then start SB normaly but create a hidden window
Do you have an idea why this bug happens? Maybe it is something trivial, e.g. too small array, integer overflow, or some memory allocation problem.
An alternative would be if Link's tool could decompile every mod and main.scm.