chomp endline from stylesheets; small cleanups