Some minor bug fixes (prevent crashes in dana and upon quit)