Some security updates and fixes
version 0.5-beta deployed for testing to Deirdre today.