final cosmetic fixes and quick bugfix in delete page method (code for missing set hash)