libbitfury update and related changes