add persp-separate-scratches option
v0.9.2, more functional style, some funcs refactored and improved