fixed minor bugs concerning sorting, and made the first video play, if there is no video in the playlist, cleaned up a bit