"Fixes" to the UI. Some magic numbers introduced to make it work.