C89 compatibile, fix loop bug
remove dead code, make c89 compatible, fix SELECT.1 parsing
cleanup
minor change to make grepping easier
help with a false positive case