Update vst state chunk code, almost complete