Shortened variable hashes

The URL hash now only records instances when a variable changed its
value, instead of recording every variable in every state.