Fix a couple closure issues; Add save_player()

I tested the closure changes many times, but there may be some reasons of which I'm not aware that you may object to how this was done.