Changed version number, added functions for getting current thread id