Fixed serial and parallel differences (go_up bug) and added thread-safe logger class