Reset property viewer when deleting current node.

This prevents a crash due to trying to access a getter of an already
deleted node.
Auto-expand sgTreeView & auto-resize object column