Rewrote some parts of player load
fixed many issues with iterators