a few more methods on the selection object
beginnings of state machine; patched 2 bugs in sly
beginnings of a working FSM