Adds post deletion functionality, fixes minor misc bugs