Size improvements & minor fixes

Development dependency (—save-dev) is not required for regular usage
and by default doesn’t get included anyway when installing from a
package.json, so I replaced the event-stream module with map-stream
which is more lightweight, also includes 2 minor fixes :)