added icon for hot jobs. added sql for creating template.
added error logging to functions with exceptions
added more error checking to schedule_model create function
fixed creating new schedules and redirecting if no items added.