Allow plugins that hook into comms

This extends the plugins to the comms to allow hooks to change/act upon the gcode commands