Remove comments, implement extent autocrop.