This seems very promising, trigger is tricky to get working, and it still seems kind of sticky, but this is a step in the right direction.