add in ajax refresh code
add in code to handle pagination in folders. Add in updated javascript for thumbnails. begin working on caching system for thumbs