Some rewriting, added several functions and new events to control the
playlist functionality.