Refined event logging

Instead of manually iterating through event list to filter redundancy, use a HashMap