Fixed localstorage creation and caching of the messages before creation finished
Merge pull request #6 from wingedfox/pr-message-cache

Fixed localstorage creation and caching of the messages before creation ...