Main window updated.