controller object with access to state module
fixed equation issue when only number entered
Merge branch 'master' into haoxuan
Also, made separate routine setEquationStyle which
is now called by setState.  Not tested, yet.
Merge branch 'master' into bstrong
Fixed another aspect of bug 2382. Also corrected bug occuring in author mode caused by 'unknown variable' fix.