stable version. correct l1. fix thread problem. now will work on experiments