update statusbar, and add getNumVertices and getNumFaces