The "del" function can now delete variables (e.g. "del 'x'"). Also created a XiStream base class for XiReader and XiWriter.