network optimizatoins, better UI

1. added disk caching for tv icons
2. refactored some code