Fixed some errors in the GraphicalViewer that allowed null pointers.
Added an experimental calc.
Played with finding patterns. -Slow, but when done with large samples can be useful.
Added progress bar.