Added item add/delete. Improved Ajax error handling