fix framer spec

Use proper (24-bit) length extraction technique.
Also fix pre-determined :settings length.