Removing the event listener is a cleaner solution.
Fixing the progress reporting.

Taking into account the situation where image and sound resources can be loaded individually: the load percentage was incorrectly reported in a [0; 50] range.