Fixed a couple bugs
I had left a debig echo in delete-post.php and I had also forgotten to add id's to the last post in the view post page.