Rough implementation of result loader for WPF.
WPF changes.