Removed closing tag and whitespace as it was causing headers to go early

The whitespace at the end of the library file was causing it to try and send data to the browser. This caused "Warning: headers already sent" errors.