Add a Panel class, to make drawing rectangles easy.