fixed music playing

the app should now stop the music when it is minimized and restart when
it is opened again.  i hope i'm doing this commit thing right…