Increased path-stack-size to 1M, refactored path_painting commands

Also "scn" etc. returns status, and path_painting ops clear current path.