Improved error logging for UI build errors.
Fixed MSIE 8 issue when creating or setting "type" attribute on buttons.