Deal with unbalanced expressions more
Fix up limiting magnitude and add CLI