Switch to using QPointer for the debug console.
Use QPointer for all of the pointers to Host in other types.
Merge branch 'release_31' into development

Switch to using QPointer for the debug console.
Use QPointer for all of the pointers to Host in other types.