[frontend/termbox] Cache the caret style.

This reverts a change that looks accidental, but might be intentional...
[frontend] Silence govet.

Add log.Errorf.
[backend] Start resolving govet issues.