changed how insert mode key is defined, commented out some (as-yet) unused functions