Added command widths
Added error checking
Merge pull request #32 from Omegaice/message_formatting

Implemented message width formatting.