corrections thanks to pyflakes and pep8
ability to edit crops directly from spaceview