Added the WPFInvokeRequired aspect.