Added persistent undos and php comment fixes.