Fix crash with smudge tool around the edges
only include strings.h on mac (fix visual studio compiling)
Merge pull request #4 from simtr/develop

Develop