I don't know if we are talking about the same thing, but it would be ridiculous if we were to record manual badge awarding in the event log - on my site that would put >1500 entries into the log, making it pretty useless for other purposes. Once some of your users actually earn badges, it should log them and show them in the widget. I can't do better than that, sorry.
I think I have fixed the notices, please update the code again and let me know.