- fix fgetln() and clock_gettime(): library code should not fatal.
- remove unneeded log.{c,h} and xmalloc.{c,h}.
- tweak licence file
remove more cruft