[buildfix] Anything to declare?

Declares all the variables to the defaults I had available and includes debug.h so Code::Blocks stops whining about DebugLog not being declared.

May not be the most elegant solution, but wev.