Compiled on VS2013.  Code fixes.