Add getChannels and use it everywhere.
Remove getChannelNames.

Turns out there's no real use for it.
Merge pull request #265 from csmith/master

Introduce getChannels and tidy up.