Partially rolled back the commit about frontend and server compatibility. Also, removed code for generating thumbnails. It is no longer needed when we have a daemon which makes them.