1.0.11
made sure that cStream can be used for end detection in both error and normal exit
1.0.12
pass the error instead of creating a new one
1.0.13
added stderr stream handling
1.0.14