Added deleteMessages()

To delete all messages from the older session.
To be later executed at app start