Make the window list global

The window list * lw is now global so we can access the three main
windows everywhere.