WIP: jrbl trying to plumb through platform_settings

TODO: remove TODO and DEBUG items