Merging main.html and footer.html into items.html to optimize the GET requests.
Fixed an issue where new items were sometimes created upon quickly deleting many of them.
And some additional clean-up.