Created attachment 46829 [details]
New debug log
Here's requested log. There's a change in application behavior when it is run
in a way you requested: message box with Error 198 is not shown, application
just silently (without any gui messages) exits after couple of seconds.