Fix range select
tidying up comments
Merge branch 'dkuz-patch-4'