Tweaked a few more things. Works surprisingly well in IE