Edited project to compile on release mode

Also removed debugging code from cDirectX