Errors in hc-sr04 sensor readings

Several problems: Please read how to post code in a scrolling window.
What are you using to get the reflections and is it directly in front of the sensor or off to one side?
Paul