sprintf replaced by snprintf and strcpy replaced by strncpy
calls to strcpy and sprintf suppressed
updatestring() now returns an integer to handle canceling
scroller() function suppressed
'E' key added to edit already existing items
updatestring() created getstring() modified to take the max string length as an argument