Fixed logical bug in mediaplayer, added switch from paused to stop, testing on RPi.