Gandalf startup clean up.