A lot of random bug fixes

So, delete should work, albeit it doesn't immediately update.
Format for the view page looks a little cleaner, and edit is a work in
progress.