Refactor messenger plugin
Make another file PEP8-compliant
Make sure adapter is started before plugins

This prevents plugins from trying to send data through
adapter that's not initialized yet.
Kill bot in case messenger thread dies