compress images; typos and corrections