Added a slice selector. Reordered code. Updated display.