Added toolbar resource.
Added id to shape and id counter in document.
Added TODO + comment for pointer fix after undo.