Name the currentkey variable, cleanup the doorlock prepare loop