Fixed a stupid timeout bug in cmd.c
Saved two lines
Removed some g_printerrs