Adds some loggers, alerts when the operand has an unguessable size, fixes problems with expressions.