Fix up some UI bugs and allow getting and setting CSS properties at runtime