adding in output handling for multiple browser instances and cleanup on formatting a bit