add configure dock and loginitems so they work.