upgraded prelude. cleaned preferences