Update commands.cpp

Commented out some debugging code and fix some formatting.