Refactored 'events' to 'utils'
Changed nextNull to be appended at the end of the tabs. Resolves BTP-5