add virtual destructor
fix some syntax errors
Merge branch 'master' of https://github.com/blasterbug/Octochat