Fixed a lot of IE bugs.