Fix for variables toggling their status when the user clicks away from it.
Merge branch 'release_30' into release_31

Fix for variables toggling their status when the user clicks away from it.
Switch to using QPointer for the debug console.
Use QPointer for all of the pointers to Host in other types.