Added Menu instance deletion in Application destructor.