Improvements and fixes to operators, start of opcode generation