Use current_time( 'timestamp' ) instead of time().

Use site's local timezone.
Use date formats from WordPress settings.
Use user's real name in notification emails if available.
Ensure custom roles are listed in drop down menu.
Version 0.7