cedarv: fix wrong alignment
cedarv: more error messages, code style etc.