Modify debugging output to better distinguish between events and actions