Refactored image_url() to only resolve upload directory once for performance.
Updated to use internal image_url() method over API.
Normalized home URL resolution everywhere to use stored value from property.
Stored charset information in property to eliminate get_bloginfo() calls inside loops.