fixed the trayicon initialization that was causing the segfault to happen.