Added methods for error handling in OneProcess
Improved code readability a bit for slotCopyToData in OneProcess