Yesterday and today, I refactored a few bits of the POP3 support in mutt-ng, to significantly improve readability. The big problem that the original developer of the POP3 support for mutt made was that he used a lot of "magic numbers" for different states, without explaining what these values mean.