1. If you call function "Message" when the dialog (progress window) is opened, it will not be displayed.
2. Also, if you call it before opening dialog, it will also be cleared. This bug is also valid for notifications.
This is frustrating. I tried pretty much everything possible to overcome it. Nothing works.
Saving message text in a variable and showing it after the dialog is not an option, because some functions are used in multiple places and in some situations another dialog gets opened after that. This leads into many "if" statements.