initial ST3 support

Initial ST3 support thrown together very quickly. It seems to be working fine on OSX 10.9. Still probably needs more TLC on other platforms, though.