namebrowse.c was using variable work uninitialised.