FIX: Reduced OMICRON_MAX_EVENTS to 512 (Fixes stack overflow due to CMake no longer setting default stack size to 10M in CMake 2.8.11).