Fixed main program project options

Added preprocessing macros, compiler optimization, and fixed the conference
structure events initialization.