Tidy: remove duplicate code, regularise spacing in mudlet.cpp

Separates out trivial spacing changes from other more significant
modifications to follow.