A window is made as a rectangle with a half circle on top, as in the figure. The outer frame, made of the two sides, the base and the curved top, has a total length of 8m. The glass fills the whole shape. Let the half circle have radius r and the rectangle have height h. What is the greatest possible area of the window?