Add support for load-path, trace and style options
Fix issue where calling callback on stream data event instead of close event