Extract inline CSS to files, general cleanup