Refactored and added some basic exception handling. Added ttl.php to just dump Turtle.