Integrated load/save code, reorganized

Compare function only needs a clear function to work, load and save
work properly, added visualization for load.