add missing funcs in log

Print errors to stderr and fix indentation.
use error() instead of fprintf(stderr) everwhere
update roadmap in README