fixing a bug in the return type in Material.hpp, adding a dialog window for adding objects to the scene (unfinished)