Added defensive code in qtBody.deleteEditor to prevent a reported crash (I was not able to duplicate the crash).