Fixed resource treatment in Editor, added default OutputStream in Resources