fixes major issues with event handling timing and checksum calculations