CEO: Patch notes, 0.3.40

Fixed possible memory leak Various minor bug fixes