added browser detection to config vars to config
assorted changes :P