fixed a couple bugs in mineflayer, added chat support