fix for materialdef caching problem, first working trigger behavior! some work on how events and ticks are routed through the system