Added getName() and displayHelp() functions and other minor tweaks.