Merge pull request #5 from Jygsaw/master

(fix) App crashes when no unseen messages retrieved
(cleanup) Check before calling property of uninitialized var