Fix plugin PM callback when message is sent to bot
Fix operator chat command reply
Code cleanup