Fixes #43 at least partially. I should really add a selection highlight
at some point.