Close IMAP session at the end of Mongo request and processing of unsorted emails; Commit debugging code for use in resolving other bugs
Merge pull request #11 from Jygsaw/master

(fix) Infinite load after all emails sorted but not crunched