these ideas seem to work for BIAB but on my machine RealBand still generates errors on closing