remove handled TODOs
print usage and exit upon reading an invalid flag
cross-platform safe libutil header