fixed params/no params confusion in opcodes
added missing params
removed useless call, as this value gets set on module-load
added more testing code
FIX: opcodes count was not cached