Avoid using magic strings in CoreUI renderer.

Get real values from the system; use backup values if they disappear.
Fix bottom bar height slider in sample app.