Major revisions. Using fork of Browser.php by Chris Schuld for User Agent handling.