refactored editimage and edit text, now working on editing shapes