Refactored sparql queries; much use of BIND() rather than FILTER.
Replaced httpbuilder with url() for stability.
Updated web-app pages so they work now.
Updates for performance.