Qt UI: improvements for Mac OS X:
change program icon in dock when there are new unread personal messages.
Qt UI: improvements for Mac OS X:
* add special program menu to the dock icon
* hide main window by close button instead of minimizing it