Separated frame processing and added checksum validation