Implemented loading and saving the scratchpad to the local disk.
Using more fancy API to save the file locally, still doesn't work in Firefox
Updated event API use to latest version, now saving files works in Firefox!