polished gocode.cpp and moved CommandExec from using BOOL to bool