added ability to mark items as inactive, fixes dioscouri/amritasingh-f3#104