fix function decl test
make trace dump amount of vars used, and fix bug when sign extending negative packed array numbers
improve block count reporting