changed PrintDbg -> printf in all files