Robustnes in sequencing, Logs test program, Tasks concurrency

Imporved robustness concerning sequence keys.
Test program for LogsAppender.
Tasks concurrency failed and tasks were lost.