Work on rating, maintenance on tagdata retrieval

- Now shows ratings gathered from local database
- Tagdata is processed mostly in PHP (server-side). Cleaner code