* fixed some memory management errors, one of them was causing a crash when a multi-file gig was deallocated