Fix mem leak and imports

Organized all of the imports, got rid of 60+ warnings
Found another mem leak in the music player