Added macro to switch easily between compile time and runtime linking of interprocess library.
Tweaked performance a bit, event objects are now being kept during entire library lifetime, reduced strings copying.
Various cosmetic changes and overall cleanup.