issue #21: add crop functionality. need to handle properly when done/cancel