Using weakref to avoid cyclic reference in player too (Issue #26)