Tweak resources to try to get window icon to work.
Initialize resources statically linked - got an icon on Linux!
Now the resource init happens inside the console setup function, much tidier.