Cleaned up sources of non-fatal PHP error messages, moved year list retrieval to a separate file