EntryX is now being used properly.
It is also now being updated after downloading instead of before.
The message uses tags instead of methods for the greeting and signature.
Regular expressions that check for "pdf" are now case insensitive.
Title query now uses the Entry class instead of direct SQL.
The $user variable is now only set by the outer while loop and passed directly
to alert_user().