All the TODOs sprinkled throughout the code! Configurable rotation of replay and debug logs. Add a make install/uninstall/etc., add an "INSTALL" file, include a dependency listing. "|| LOG_MODE" should be "type == LOG_MODE" in logging.c. macOS compiler may need limits.h included in structures.h. replaymode = "lastspoke" causes huge amounts of spam from extractnickfromprefix() and friends in full debug mode. Very slow processing of removenickfromallchannels() when another user QUITs (sometimes).