MainWindow.java: implemented the behavior of the Exit menu bar item.

Added close_icon.png to the index, which had been, embarrassingly,
excluded from recent commits dependent on it.