moved url fetch off the event thread
switched indentation from spaces to tabs
Fixed warnings/formatting

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>