Made log() global. Fixed article fetching bug.