nev.c: added more client states