Refactored to pull data out of HTML documents and move them to be loaded by ajax calls in preparation for realtime status updating.