OK, when I copy the code in its entirety it runs without errors but produces the same
blank gray sqare as an icon.
I'll start looking what did I not copy correctly but meanwhile the original problem remains:
as if the graphical subsystem "overrides" the icon given by the program.
Any ideas?
TIA!