Fix wpf thread crash, setup for volume/mute