implement delete from sidebar and buffer, closes #44, closes #45