added commands circle, square, rectangle.
added a line in the html for error output.