With current git master, the system tray icon disappears immediately when you tell Bitcoin-Qt to exit. It used to stay until the client shutdown completely. I see that this was intentional in pull #867, but it makes development/debugging more difficult and may cause more confusion when a user gets an error that Bitcoin-Qt is already running when he tries to restart it. How about changing the icon, setting a "shutting down" tooltip, or similar instead?