Not thoroughly tested, calendar styler added to admin, fixed a bug with older versions of php