Convert to VS2010.

Add range-check
Export center-list to host