Fixes debugging outside main

Debug messages on files other than main were not being printed...
Moves DEBUG to consts.h (which is included by everyone)
Translates stamp printing message