Snippet delete

Added a simple snippet delete function and some frontend amendments.