How to clear output buffers

Maybe this is related:

Looks like we always need to increment the plugin version when testing bus settings in logic to be sure that the settings are not cached.