some stat bugfixes and AppearanceChanged flag