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.
Merge pull request #172 from petroules/coreui-improvements

Avoid using magic strings in CoreUI renderer.