Implementing Selection prototype.
Implemented selecting and selection.
Reimplemented deleting and fixed selecting.