JSDoc tweaks

Primarily JSDoc tweaks, as well as explicit checks that this.player is
set before calling methods on it.