Corrected datapath.
Corrected datapath.
Implemented GUI-based stage selection.

Implemented GUI-based stage selection, but plotting for stages 13 and
14 still needs to be fixed.