Logger now buffers output to log file and flushes after at least 30 seconds or at shutdown.
Added type safe delegates to core.
WIP on delegates and events.
more WIP on events and delegates