Many fixes to layout of views. Backgrounds now work properly.