Fixed avatar related files memory wastes
Fixed renderer related files memory wastes
Fixed ui related files memory wastes
Some more memory leaks and codes formatting
Updated Application destructor
Added Menu instance deletion in Application destructor.
memory wastes and code cleaning PR comments
merge
Merge pull request #900 from Atlante45/memory_waste_and_code_cleaning

Memory waste and code cleaning
Testing audio shutdown before menu destruction.