systray: add osx version (run() doesn't work in a thread.)