More updates to get the threaded rendering correct by avoiding a global "play" variable.