Update operators

Tests MQL semantics. Also various bug fixes.