In some cases the session may not be set (or retrieved) viewing attachments - thanks Filippo for reporting the bug

Signed-off-by: emanuele <emanuele45@gmail.com>
Make "Show most recent PM at top" the default at install - thanks meetdilip for reporting

Signed-off-by: emanuele <emanuele45@gmail.com>
Deleting personal messages by conversation was messing with keys - thanks scripple for reporting

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1797 from emanuele45/fix

An undefined index and a change in a setting