When an app runs headless, it offloads the heavy job of rendering the entire user interface. This is so useful that there are ...
The easiest way to do it is to right-click the app's icon on the Dock, then click the "Quit" button. The Santa hat should be gone now. If it isn't, check whether the "Allow automatic icon changes" ...