fix bug of set cursor after remove a subtree.  unfold node when setCursorByPath meet a leaf node
using ActionMap to set key event, add state machine to MindView
using Logger instead of println