Sometimes a level doesn't end after all enemies are defeated. This bug was discovered too close to the submission deadline to fix. :\