added "waiting" boolean

fixed a bug that happened if user loads page, then clicks out of it
then clicks in twice it plays the music when it shouldn't