Added deletion to webview

Also fixed bugs in deletion and added some redundancy (convienently had
some garbage data due to the bug, let it break everything it could then
put guards and logs in to keep everything from crashing in case it
happens again).