Added vs2013 project, made small fixes on warnings