Fix data fetch bug.

Prevent future force closes on data fetch failure.
Further formatting and removal of abhorrent style errors.