experimenting window.onerror
several fixes. major: remoteCommand, and improved ErrorManager