adds some of pancakes changes to the lib
addes arm64 profile, changes some error messages to fprintf and removes the useless 'value' field in the register struct