namespace events and consoldate select and selected into selecting. fixes #497. fixes #1262