tbg: rename some variables, change warning

- unsolved_* to unresolved_*
- change warning text for unresolved variables