Can you post your Marlin_main.cpp file? I'll take a look at it.