URL now stores selected classes (code needs a lot of tidying, though)
Fixed bug where manual class selectors weren't coloured properly, created by transition from ids to hashes for colour selection