Fix ToastFrameStatusBar issue and null ref issue

1. Fixed issue where changing ToastFrame.StatusBar's properties prior to
OnApplyTemplate would cause them not to take effect.
2. Fixed possible null ref exception crash when the final toast in the
toast queue gets dismissed.