improve caching of metric and tick patters

* selectively clear cache (meterbridge, mixer)
* free memory of patterns on clear