MoudeDown now locks properly
Loading and saving files can now handle old and new formats

new format encodes the rules in the header