Improved loading/request handling. Moved all CSS to .css file.