Modified missing-charset detection to ignore css, removed some unused variables from unsafe-charset detection.