Updated comments
Fixed handling of ls_activity window
fixed handling of p.loudspeakers==0