update templates per Player 1.2 and add logging of events, coming from gadgets