Changed logWindow to readWindow

It isn't a loop anymore