Trim all operations in the pipeline

Fixes #51
Merge pull request #52 from andylolz/51-trim-ops

Trim all operations in the pipeline
Merge branch 'master' into input-output

Conflicts:
	app.js