Began fixing compile errors in main. Orders compiles. Cannot use ECHO, already #defined somewhere, replace with ACK