upgraded MSVC project to VS2013
merged initial exploratory code for resumable encoder state. hardcoded for now.