Remove debug print statements
Polygon lasso support and new pipeline function