fix error with relative urls

also fixes cache not clearing everything and a minor UI correction