tested memory deletion; fixed bug in FramePool::release_frame()