lib/handler: document handlers
lib/term*: documenting various classes.