MainFrm: remove unused friend class