Fix incorrect waiting for system tray and fix lxde/lxde-qt bug #38 - Battery icon doesn't show.