The window header now includes which level the tree has at the moment
and which is the target depth.
also fixed the bug causing one additional line at the end of each
square. this line wold be part of the next square, but when the tree is
finished, the final squares should not have little additional lines
coming out of them