Too much humidity can cause icing for cookies to get spots, so you may want to run a dehumidifier while you are decorating your cookies.  You could also try working with a thicker icing to remove some of the water content — this will also help it dry faster. Finally, make sure the cookies are completely dry before closing them in a container.