Media db overlay cleanup.
Properly styled pagination for media db, entries + comments.

Also, the pagination is now being clones using JS.