Key/Gate additions and editting, and save checks