fixed a bug which prevented the destruction of a vlcplayer object. Createt a thread which is responsible for skipping to the next song, when the current one ended