Updated messaging system.
Fixed plugin system some more