Fixed memory leaks in Player. Player still crashes when closing simulation with no active graphics windows. Not a big deal but need to look int it