VS 2013 solution and project changes. Runs, not fully tested at all.