added basic gui code

Code optionally plots raw data, but parameters need to be set by
checkboxes, etc. Cannot do this now.