Added delete, copy, and paste icons.
Removed shape null checkers into the getShape... function.