Your observations are correct. In fact, with each new release, we strive to replace generic HTML code that was cut-and-paste from an early SugarCRM with a true ASP.NET implementation. It is debatable whether HTML is code or is formatting, but we perfer to play-it-safe and include the Sugar copyright on any page that includes HTML copied from SugarCRM.
The one key area that we have yet to address is the images and style sheets. As long as we include the Sugar copyright, we can continue to include their images and style sheets. At some point we may create our own art work, but for now we perfer to focus on features.