Speed improvements

Various tweaks for improved speed, most notably processed shortcuts and
override files are kept in memory