Removed perpetual database link from the PDO array.  Minor code changes to addtape.php.