Added some comments, added UIAppearance conformity