Externalize display function to clarify important codes
Change comment into error logging
Don't change directory inside Read functions

If mailbox not in SELECTED state, it select INBOX and log warning.