document bitops, relocate a type check, add isprime
add more opcodes.

Also fix some previous entries suffering from cutandpaste