Major updates. Using Browser.php by Chris Schuld for User Agent handling.