Threads are not detached anymore (fix segfault), lua 5.2 improvements
version 0.3.0