this instance is a maxforlive primitive that solves the issue of multiple unique instances of the same plug-in inside a live set.

thisinstance.amxd.zip

autofocus is an isolated primitive of my maxforlive monome starter device. You only need to edit the base prefix in one place. Simply replace 'sf' with the name of your patcher. The sub patcher then does all the messy routing for you.

download autofocus

discussion here