encode and decode routines
passing input to plugin
Got keyboard defaulting the way I want it