When turning the mode on, run update in all window showing the current buffer.
Extract looping over windows displaying the current buffer into a macro.
Correctly update line numbers when changing the same buffer in two or more windows.