added global num of songs played and fixed auto play sort of