Comments added and bug for last message fixed

Current version:
added comments and correct spacing
fixed bug where new messages added to inbox did not show

future versions:
delete read messages