Fixed bug in dup opcodes, added unary operators, refactored load const