Email Attachments and Prolog Version Fixes
Fixed GCC warnings