changed graphwindow to QWidget; restored correct version of process_deposition_data