2 fatal error avoidance fixes, CRM-15271last viewed links without cid CRM-14730 over-long urls