Edge detection remote

Merge changes to get the coprocessor edge detection working into the master branch.