Made the Dedi's command handling more readable.
Slightly.