fixed wrong parameters to PrintfDbg
signature verification added
sigmature verify bugs removed