The Refresh UI error should be corrected by deleting the cache file from the users configuration folder.
you may need to delete the cache, then restart the computer and delete the cache again
for the other error, rest the workspace layout:
go to Window -> Work Space layout -> Reset '<your layout name>'