Add/edit/delete of shares now set up with proper locking