Change demo images to be grayscaled
Add callbacks triggered before and after slicing
Add override for appending new slices
Implement correct ratio calculation