Added initial module for processing non-plugin commands.
Added another const.
More support functions.
Added more complete dispatch logic.