menu get selected

use cursor count rather than passed in value, also return name of option