Add ASCII db type, cleanup code, doc improvements.