lua debug : fix error when dumping a nil
make storages more CLI resistant

get_params now works when in CLI, set_params needs to be tested separately