Changes for logging to a file, proper 2d table data population, and enabling saving of offline data