small bug fixes and trying to get IE to play nice