Configured debug/release settings
Added debug output: length of frame if it's on as long as expected (segmented frames can be detected this way)