few more useful functions and change a couple of global key settings