This project is huge with a thousand includes and possibly conflictuing usage of the serail.
Can you try to replicate the absolute minimal debug environment as in How to debug on Arduino mega 2560 - #2 by maxgerhardt? With no other code? What happens then?