VST3 hosting fix.
Refactored a VST3 state method.
Merge branch 'master' into developMH