Added OS X support.

Bug exists where '-' key does not register.