Mainly refactoring Sketch.js, that and minor corrections here and there.