Added the option to crop pieces

Also support (well, silently ignore) private extensions like:
 * CSI ? n h
 * CSI = n h