Match Wiki Protocol-spec to program

also fixed the tray notification on Windows