Multiple selection support, fixes #8