Add multiple scratchpads. Misc changes.