indentation set to 3 spaces
sped up redraw a little
fixed 'restart on scan' bug. Again. Sigh.
improved redraw speed by skipping samples
removed unused text field code