Fixed compile errors under Visual Studio,
added Assert.h,
converted /dx files to new logging style