Fixed Mark's buggy R problem, added Luc's init writes features, implmented Diff