Matthew Perry had some real demons