public PlaybackWindow() { mainThread = SynchronizationContext.Current; InitializeComponent(); gui.Show(); }