added prototypes for two more functions that are needed by the gui.