general cleanup on Chromecast codebase