player wont remove self when closed. attempted to fix. lets see if this works