Adjusted comments slightly.
Adjusted the comment for register_pipe() again. Was missing information about failures.