added support for sketch 3 beta, minor fixes for yosemite