Some minor revisions, adding prolog support, disabling mouse interactivity, adding correct handling for mac-style line endings