Lots of changes. Also moved VCWorld and generation control over to managed code.