Add option to email custom URL to admin. Clean up PHP notices.