rebuilding osx version (and fixing small errors)

Looks like you accidentally removed the keystroke handling logic from ulogme_osx.py. I put it back.