make inbox part of app.state and only store new messages, push state to interface client if its changed

git-svn-id: svn+ssh://organicdesign.co.nz/tools@1003 5e2f9ad9-d71a-4c5e-ba50-a8a02cc83e87