* The notices were on the settings page. At least one of the settings didn’t have a proper case in the switch statements. This would only be noticed if running with WP_DEBUG = true.
* For the extra whitespace, I don’t see it in SVN, however, after extracting the zip, there was an extra carriage return in the wp-realtime-sitemap.php which can happen with certain zip programs. It’s safest just to removing the closing PHP tag to avoid the issue.
* The escaping is to address security concerns. While irrelevant on most sites, in a multisite setting where the admins share a domain, improper escaping of the settings opens a vector for stealing domain wide cookies from other administrators of a single subsite.