added wpf gui;