Made editor program slightly more comprehensible.