Improved read loop in THldEvent class

Improved read loop for subevents in THldEvent class and optimising
padding byte skipping