Fix memory leak on m_image
Add quit menu entry