Added clrmsgq command to core, to clear message queue.