Fixed a bug with handling comments
Fixed palette button backgrounds in Safari