add rio-platform to rio-ui CP;
add support for DEBUG env var to rio-ui