Made some changes to scratchpad.el.