Added basic ability to edit and delete blocks
cleaned up block edit and delete