10.6 compatibility for the dock icon changes

and fix for toggling activation on launch