use regex in CLASS
fix weighted downsampling
cleanup a lot of interactive things for a live demo
empirically correct click centers