New line error checking for add item and add category.  Tested.