Fixed some signal handling stuff
Merge branch 'master' of https://github.com/theqlabs/qchat