Removed function list_to_grid. Reworked save and load.