Added song loop
Fixed frequency and entity pruning