fix extra slash in dir, send :updated signal on modified message, but check if message needs to be added in index mode, check if :updated message should be deleted from index in case all locations are gone
hooks: check if a method has been defined and remove it before redefining it