Tidy up and add comments to selection code.
1 file changed