#30: Fixes some bugs in auxiliary compiler passes.
#30: Fix existing, because renumbering opcodes.
#30: Add range testcases.