Fixed some bad browser bugs.