saving and loading options. using redef keys. diag movement