Decouple Server from ServerManager.

SM now listens to frame closing events, so Server doesn't need
to hold on to a reference and inform it that it's closing.