Clean up comment code in GUI related to commandHistory