slightly improve error handling

resolve several minor TODOs

remove outdated TODO comments

(0) -100 -30 -10 -3 +3 +10 +30 tip

mercurial