Fix env store function in the case the env size is lower than the allocated capacity.
Implement the BRANCH instruction and some operations on booleans. Add debug messages in frame functions.