Add Qpointer.

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