big commit, got lesson inventory mostly working, still need to change inventory when lesson marked as completed