Added more variables to the save/load function and added a register button