Converted to .NET 4 and fixed some minor issues

Fixed null dates
Fixed Story State enumeration not being set
Started to clean up the code.

Updated the code to follow .NET 4 standards.