Quest log variable clean up