Don't call exit() in Shutdown() for Bitcoin-Qt (fixes a tray-icon issue)