lugmeetings: fix broken array indices and maths and it's __main__ not just main...