Modifications on the project.cpp file for saving / loading project file (.sm)

Signed-off-by: benoit brayer <brayer.benoit@gmail.com>