apply some custom styles and cleanup on some files (trailing spaces)