fixed various browser bugs and oversights