WIP: deal with buffer release, don't swap to a buffer in use