htsbuf: ensure that printf arguments are validated
webui: fix missing event title argument Fixes #2125