wpf conversion 98% complete

Nearly finished with converting the old code into the new WPF
application. All that remains is the image cropping code.
added todo items