Finished first version of the WPF front-end