Added prior complaints to schema table, exposed it in relevant areas

This is not entirely done.