Added a menu entry and dialog box for the FACTOR command.