Reworked threading model (!). Removed no longer needed #define.