Cosmetic changes of run-as.c; more readable code(hopefully)