fixed save procedure and improved error handlings

improved error handling
provide ObjectName when building a new prim
receive and store position to the prim
fixed save procedure - now properties are saved properly once you press save