key selection now works pretty well...

though more tests are needed...