Still trying to figure out WP Cron execution (functions not running..?)
Formatting changes for SQL
Change to current_time() for all time() functions in plugin.