Made avatar settings changes persistent and added css to prevent flickering of avatars