Fix window.frame regression
Minor changes to playTorrent