Use short form of hex color code, fixes #17.
Add filter for line classes, fixes #18.