disable loading of local/global plugins and fixed delete key function