upgraded to VS2010
fixed compiler errors

error due to changes in niflib