Dealing with multiple selections

It isn't finished, but it's working.