I am trying to add some functionality to Transmission. Have most of it done the way i want it, but am trying to figure out how to programatically show and hide a dock icon along with how to show and hide a menubar icon. I basically want to implement it so it works exactly how Quicksilver does it. I have looked at the quicksilver code but am kinda lost. If anyone can point me in the right direction it would be appreciated!!