Remote target error reporting updates

A couple of bug fixes and changes which mirror the updates made to the local targets so error events are emitted.