Allow more than two letters.

Cleaned up the code a bit, and added support for more than two letters. It is peoples' instinct to type "Mon", it shouldn't give an error on that basis.