fixing emulator compatibility with opal (send and ranges), ergonomic changes
adding instruction logging