Some tidy up and better feedback during range-selection.
Merge branch 'master' into gh-pages

Conflicts:
	res/ui.js