Initial support for ST3. Fix issue #14

Tested on MacOSX.