Dx now rendering a square, errors fixed