Fix style, clarify things and remove trailing whitespaces
Add multiworld support for autoassignment