Remove unused variable.
Fix issue with comparisons and their usage in maps.
Use the class name instead of the panel name for more precise comparisons.
Remove unnecessary reinitializations.
Break when stuff is found since we don't need to search everything else.
Revamp loadout icons for the purposes of optimization.