added some stuff, updated scratchpad
second version, fixed brush, added save function and some more