Some unnecessary codes have been deleted in order to fix the compilation errors in VS2013. Note: Executable files which created using VS2013 are faster than the ones from VS2010.