Added comments and fixed some unvanted behaviour of the "reset when finished playing song" feature.