fixed window size and run loop for C++ version
removed DXHelper.h