MainFrm: remove unused variable