v1.4.0

Minor update for <hr> visibility.

But major rewrite for efficient selectors, removal of duplicates and
general cleaning up.