Added VI to save current state as default.  This should only be called as the VI is about to close since it only works an an idle VI.