crctk.c: clean up includes, use puts() and log_*() instead of printf()