webkit bug fixes and minor ui bug fixes