Update a couple of old library call names in tray.py.