Added "capture selection" feature.