Updated to OpenCV 2.4.9 and VS2010 Project bug fix

Updated to OpenCV 2.4.9 and some fixes in the VS2010 project solution.