Minor updates to docking stylesheet. Fix a NoneType error on shutdown with
no docklayout.