Minor Tweaks

     -) Code Cleanup
     -) Removed some unreachable statements
     -) Added set charset and names to pdo options
     -) Better check while destroying
     -) Removed unnecessary closing tag