Fixed some settings stuff.