missing changes from Thomasf patch for key bind stuff.
Patch for Victor Mozgin. Fixes problem with offsets of elements that were created as macro expansions (PR 36463).
In the 'getVariableText' and 'getVariableImage' methods of CDTDebugModelPresentation ignore exceptions thrown by getType.
Variable bookkeeping (phase 0.1).