Added debug mode

uncomment the following line (18) to enable debug prints
//#define ENABLE_LOAD_DEBUG_PRINT TRUE

See lines 150-160 for how the debug lines are printed