Formatting changes, typo fixes, deletion of some commented code
Improve CommandExecutorTest.testMaxPanelHeight, so that it's better named and limits set better

Was consistently failing on our test runner
Add test for "preference" batch command