No longer flattens views to image views, this was taking too much memory. Clear button now works when the canvas is empty but there are redo actions.