Remove more unused stuff

* Double event queue in common.c
* Some useless or redundant declarations in qcommon.h
* Developer-specific comments in msg.c