Added feature to create a fixed header using the first line of the buffer.
And when the parent window is closed the child window is closed automatically.