Merge pull request #3 from borkweb/master

foundation support
Better handling of message deletion. Adding class to widget