add offline functionality, add refreshing, fix many bugs, fix bug related status bar