First half of the selection handling code
Removed empty space
Selection nearly works
One more step on selection: Only display is borked right now