Updated Visual Studio project to 2012 version.
Fixed #55. Some out of bounds accesses, and memory leaks.
Fix for #55 again. One more case where an array was too small, but
probably worked due to word alignment.
Merge pull request #56 from xycaleth/master

Mainly little bug fixes and modview project conversion