implements select window
corrects undostack
Merge pull request #138 from kamalpreetgrewal/master

implements select window