This commit lays the foundation to handle submessages for plugin widgets. Right now it just logs events, but subsequent commits will add widget functionality.