Prevented changes in tree widget when moving a lua variable fails.  Stopped crashes from uninitialized variables calling getName