Fix: check only player when calculating losses
Some optimization
Fix: problem with <null> freq (by Nkey)