making player release media on hash changes and adding a few lines that hopefully fix a seeking bug without causing other bugs.
Merge remote branch 'upstream/master'