Style fixes, decode HTML entities in motto, fix resolving clan by id