fix some issues with globaltimer&systray, window always stays on top now