Added console support and some other fixes

I have added support for the console, as the default /me functionality of console was removed by the plugin. Console users can now use the 'me' just like a player.

I have also fixed a few minor things; see the commit messages for details.