added 'add to login items' support. bugzid:29