Patch from James H to centralise some generally useful cursor-