Add standard logging and thread-renaming handlers

Sometime I need to go back and unify handlers and filters.