Partially fixed odd cases in recorded wave num and changed perk wave data to only broadcast if that perk has stats

The current code for recording wave number still needs to handle losing
the match during trader time.  The suicide needs to be logged somewhere.