IE7-8 fixes, minor improvements