Added more error display for #get_web_data, plus various syntax fixes.

Change-Id: Ie257a7244863292e62fe49712e16ff2160807240